<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <script src="../vue.js"></script>
  </head>

  <body>
    <div id="app">
      <ul>
        <li v-for="item,index in person">{{item}}----{{index}}</li>
      </ul>
      <ul>
        <li v-for="item,index in 'abcdefg'">{{item}}----{{index}}</li>
      </ul>
      <ul>
        <li v-for="item,index in 10">{{item}}----{{index}}</li>
      </ul>
    </div>
    <script>
      Vue.config.productionTip = false;

      const vm = new Vue({
        el: "#app",
        data() {
          return {
            person: {
              name: "laowang",
              age: 18,
              sex: "nan",
            },
          };
        },
      });
    </script>
  </body>
</html>
